<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@page import="com.manage.colligationQuery.ColligationQueryOfCarVo"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<link href="<%=basePath%>/images/css.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<%=path%>/js/jquery-1.9.1.min.js"></script>
<script>
$(function(){
		$.post(
			"<%=path%>/ajax/findDicByType.action", 
			{
				dicType: 'DIC_CARTYPE'
			},
			function(json){
				var obj = $.parseJSON(json);
				$.each(obj.dicList,function(commentIndex, comment) {
					var dictype=comment.dictype;
					if(dictype=='DIC_CARTYPE'){
						$('#cartype').append("<option value='"+comment.dicvalue+"'>"+comment.dicname+"</option>");
					}
				})
			},"text"
		);
	});
	function submit1(){
		var plateNumber = document.getElementById('platenumber').value;
		if(plateNumber=='' || plateNumber=='M'){
			alert('请输入车牌号码')
				return false;
		}
	}
	var msg="${requestScope.rMsg}";
	if(msg!=""){
		alert(msg);
	}
</script>
</head>

<body class="bg_003">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="201" height="30" align="center" background="<%=basePath%>/images/016.jpg"><table width="75%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="25"><img src="<%=basePath%>/images/1.png" width="16" height="16"></td>
        <td><strong>机动车信息查询</strong></td>
      </tr>
    </table></td>
    <td align="right" background="<%=basePath%>/images/017.jpg" class="zi_006">综合查询</td>
    <td width="39"><img src="<%=basePath%>/images/018.jpg" width="39" height="30"></td>
  </tr>
</table>
<form id="queryForm" name="queryForm" action="<%=path %>/system/colligationQueryOfCar.action" method="post">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="1" bgcolor="#e1e1e2"></td>
        <td height="100" align="center">
        <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#e1e1e1">
          <tr>
            <td width="10%" height="31" align="right" bgcolor="#f5f5f5">车辆号牌:</td>
            <td width="22%" height="31" bgcolor="#f5f5f5" align="left"><select name="colligationQueryOfCarVo.province" id="province">
            <option>黑</option><option>京</option><option>津</option><option>泸</option><option>渝</option><option>冀</option>
            <option>豫</option><option>云</option><option>辽</option><option>湘</option><option>皖</option><option>鲁</option>
            <option>新</option><option>苏</option><option>浙</option><option>贛</option><option>鄂</option><option>桂</option>
            <option>甘</option><option>蒙</option><option>陕</option><option>吉</option><option>闽</option><option>贵</option>
            <option>粤</option><option>青</option><option>藏</option><option>川</option><option>宁</option><option>琼</option>
            </select><input name="colligationQueryOfCarVo.platenumber" type="text" id="platenumber" size="20" value="M"></td>
            <td width="12%" height="31" align="right" bgcolor="#f5f5f5">车辆类别:</td>
            <td width="20%" height="31" bgcolor="#f5f5f5" align="left"><select name="colligationQueryOfCarVo.cartype" id="cartype">
            </select></td>
          </tr>
        </table>
        
          <table width="95%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="50" align="right"><input type="submit" id="subbutton" value=" 查 询 " onclick="return submit1()"></td>
            </tr>
          </table></td>
        <td width="1" bgcolor="#e1e1e2"><br></td>
      </tr>
    </table></td>
  </tr>
  <!-- 所属人信息 -->
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="5" height="5"><img src="<%=basePath%>/images/019.jpg" width="5" height="5"></td>
        <td width="100%" height="5" class="bg_002"></td>
        <td width="5" height="5"><img src="<%=basePath%>/images/020.jpg" width="5" height="5"></td>
      </tr>
    </table></td>
</table>
</form>
<table width="603" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="26">&nbsp;</td>
  </tr>
</table>
</body>
</html>